package com.sofoscorp.android.gestcobranzamobile;

import android.app.Activity;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;

public class IntroAppsActivity extends Activity {
	//Definir Objeto Intent
	private Intent go_intent = null;
	
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_intro_apps);
		
		GestCobranzaMobileDB dbHelper = new GestCobranzaMobileDB(getBaseContext());
		SQLiteDatabase db = dbHelper.getWritableDatabase();
	}
	
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}
	
	public void actionIniciarSesion(View v){
		//Crear el objeto Intent para llamar a una actividad desde otra actividad
		go_intent = new Intent(IntroAppsActivity.this, LoginActivity.class);
		startActivity(go_intent);
	}
}
